package net.sareweb.acab.session;

import net.sareweb.acab.entity.*;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;
import java.util.Arrays;

@Name("evaluationList")
public class EvaluationList extends EntityQuery<Evaluation> {

	private static final String EJBQL = "select evaluation from Evaluation evaluation";

	private static final String[] RESTRICTIONS = {};

	private Evaluation evaluation = new Evaluation();

	public EvaluationList() {
		setEjbql(EJBQL);
		setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
		setMaxResults(25);
	}

	public Evaluation getEvaluation() {
		return evaluation;
	}
}
